<div class="devui-demo-container" dAnchorBox dAnchorHashSupport [view]="{ top: 180, bottom: 0 }">
  <d-demo-nav [navItems]="navItems"></d-demo-nav>
  <div class="devui-demo-example" [dAnchor]="'basic-usage'">
    <div class="devui-demo-title">{{ 'components.tags-input.basicDemo.title' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="components-tags-input-default" [sourceData]="basicSource">
      <d-tags-input-basic demo></d-tags-input-basic>
    </d-codebox>
  </div>

  <div class="devui-demo-example" [dAnchor]="'ng-model'">
    <div class="devui-demo-title">{{ 'components.tags-input.ngmodelDemo.title' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="components-tags-input-ngmodel" [sourceData]="ngModelSource">
      <d-tags-input-ngmodel demo></d-tags-input-ngmodel>
    </d-codebox>
  </div>

  <div class="devui-demo-example" [dAnchor]="'async-input'">
    <div class="devui-demo-title">{{ 'components.tags-input.asyncDemo.title' | translate }}</div>
    <div class="devui-demo-text"></div>
    <d-codebox id="components-tags-input-async" [sourceData]="asyncSource">
      <d-tags-input-async demo></d-tags-input-async>
    </d-codebox>
  </div>
</div>
